(() => {
    const key = 'com.nuclearunicorn.kittengame.savedata'
    const data = JSON.parse(localStorage.getItem(key))
    const saveBtn = document.querySelector('.links-block').children[0]

    saveBtn.click()

    for (let i = 0; i < data.resources.length; i++) {
        data.resources[i].value += 10 ** 10
    }

    localStorage.setItem(key, JSON.stringify(data))
    location.reload()
})()
